package org.jeecg.modules.dmyweb.base.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.dmyweb.base.mapper.IBaseMapper;
import org.jeecg.modules.dmyweb.base.service.IBaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
@Service
public class BaseServiceImpl extends ServiceImpl<IBaseMapper, Map<String,Object>> implements IBaseService {

    @Resource
    IBaseMapper baseMapper;

    @Override
    public List<Map<String, Object>> getSqlQuery(String sql) {
        return baseMapper.getSqlQuery(sql);
    }
    @Override
    public  Map<String, Object> getSqlOne(String s) {
        return baseMapper.getSqlOne(s);
    }
}
